#include "Loja1.h"
#include "SawedOffShotgunRacruvido.h"
#include "ShotgunShellRacruvido.h"
#include "MesinhaRacruvido.h"
#include "M79Racruvido.h"
#include "QuadBarreledShotgunRacruvido.h"
#include <cmath>

Scene * loja1Scene() {
    Scene * loja = new Scene();
    loja->addObject(new MesinhaRacruvido(),Matrix4());
    loja->addObject(new M79Racruvido(),translationMatrix(Vector3(0.0,1.0,0.0)));
    loja->addObject(new SawedOffShotgunRacruvido(),Matrix4());
    loja->addObject(new QuadBarreledShotgunRacruvido(),scaleMatrix(1.1)*translationMatrix(Vector3(0.0,2.56,-0.6)));
    // Cartuchos:
    for (double i=0.0 ; i<=1.02 ; i+=0.34) loja->addObject(new ShotgunShellRacruvido(),rotationMatrix(rad(90),Vector3(-1.0,0.0,0.0))*translationMatrix(Vector3(1.0,i,2.382)));
    return(loja);
}
